package com.jlkf.dao;

import java.util.List;
import java.util.Map;

import com.jlkf.pojo.TblProfessionSort;

public interface TblProfessionSortMapper {
    int deleteByPrimaryKey(Integer gId);

    int insert(TblProfessionSort record);

    int insertSelective(TblProfessionSort record);

    TblProfessionSort selectByPrimaryKey(Integer gId);

    int updateByPrimaryKeySelective(TblProfessionSort record);

    int updateByPrimaryKey(TblProfessionSort record);
    
    List<TblProfessionSort> selectByType(Map<String, Object> map); //课程系列
    
    int updateDiscount(Map<String, Object> map); //设置折扣
}